package station

import (
	"context"
	"github.com/Unixeno/TheMoon/model"
)

type Server interface {
	Init() error
	Send(ctx context.Context, message *model.PlanetMessage) error
	Recv(ctx context.Context) (*model.PlanetMessage, error)
	Start()
}
